/*
 * @Author: liyin 2179253556@qq.com
 * @Date: 2023-09-15 16:34:21
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2024-06-12 17:34:25
 * @FilePath: postcss.config.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
// eslint-disable-next-line no-undef

module.exports = {
  plugins: {
    'postcss-pxtorem': {
      rootValue: 16,
      selectorBlackList: [],
      propList: ['*'],
      exclude: /node_modules/i // 排除 node_modules 文件(node_modules 内文件禁止转换)
      // exclude: (e: any) => { // 不包含
      //   if (/src(\\|\/)views(\\|\/)ScreenView\.vue/.test(e)) { // Screen是指定页面生效
      //     return false;
      //   }
      //   return true;
      // },
    },
  },
}